package org.linlinjava.litemall.admin.vo.marketing_manage;

import org.linlinjava.litemall.db.domain.LitemallGoods;

/**
 * @author wj
 * @date 2021/10/29 14:55
 */
public class RuleGoods {

    private Integer goodsId;

    private String goodsImg;

    private String goodsName;

    private String type;

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }



    public RuleGoods(LitemallGoods litemallGoods) {
        this.goodsId=litemallGoods.getId();
        this.goodsImg=litemallGoods.getPicUrl();
        this.goodsName=litemallGoods.getName();
        this.type=litemallGoods.getGoodsType();
    }



    public RuleGoods() {
    }
}
